home *** CD-ROM | disk | FTP | other *** search
- Path: engnews2.Eng.Sun.COM!usenet
- From: ball@Eng.Sun.COM (Mike Ball)
- Newsgroups: comp.lang.c++
- Subject: Re: Exception Overhead
- Date: 21 Mar 1996 18:21:34 GMT
- Organization: Sun Microsystems Inc.
- Message-ID: <4is6ne$1ui@engnews2.Eng.Sun.COM>
- References: <4is2lq$dol@news1.h1.usa.pipeline.com>
- Reply-To: ball@Eng.Sun.COM
- NNTP-Posting-Host: cygany.eng.sun.com
-
- In article dol@news1.h1.usa.pipeline.com, grantp@usa.pipeline.com(Pete Grant) writes:
- > Which compilers have implementations such as you've described? I've
- > checked the assembly listings of MSVC++4.0 and BC++4.52 and they both
- > incur overhead whether or not an exception is thrown.
-
- Well, ours for one, and most of the other UNIX compilers as well.
-
- It appears that integrating with the existing Windows exception mechanism
- essentially requires that compilers generate slower code for exceptions.
- It's not that the compiler vendors have made bad choices, it's that they
- are operating in an environment that forces bad choices on them.
-
- ---
- Michael Ball
- SunSoft Development Products
-
-
-